package com.tudouji.project.bill.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.flow.service.pojo.BasePojo;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 入库单明细对象 whinformitem
 * 
 * @author wf
 * @date 2021-01-07
 */
@Data
public class Whinformitem extends BasePojo
{
    private static final long serialVersionUID = 1L;

    /** guid */
    private String guid;

    /** 入库单id */
    @Excel(name = "入库单id")
    private String whinid;

    /** 库房guid */
    @Excel(name = "库房guid")
    private String srguid;

    /** 库间guid */
    @Excel(name = "库间guid")
    private String shrguid;

    /** 产品guid */
    @Excel(name = "产品guid")
    private String productguid;

    /** 规格guid */
    @Excel(name = "规格guid")
    private String spguid;

    /** 组织guid */
    @Excel(name = "组织guid")
    private String orgguid;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgname;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal weight;

    //入库时：未转换重量前
    private BigDecimal Bweight;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 计量单位id */
    @Excel(name = "计量单位id")
    private Long stockunitid;
    //20240117 业务单据的业务单位Id
    private Long businessUnitId;
    private String businessUnitName;
    //业务单据传入，业务单位到库存单位的转换率
    private BigDecimal busiunitTostockunitRate;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 原材料规格 */
    @Excel(name = "原材料规格")
    private String rawspguid;

    /** 单位名字 */
    @Excel(name = "单位名字")
    private String stockunit;

    private String applyitemid;//入库申请单明细id
    private String spename;//规格
    private String product;//产品
    private String house;//库间
    private String room;//库房
    private Date createdate;//查询
    private int[] whintype;//查询

    private String orderId;

    private String itemguid;

}
